<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <title><?php echo ($title); ?></title> 
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/index.css" />
		<script type='text/javascript' src=''></script>
		
			
		<style type="text/css">
			
		</style>
    </head>
    <body>
        <div class="main">
			<div class="result">这里是父模板定义内容 header</div>
			


	<style type="text/css">
</style>
 
    <div class="main">
        <h2>ThinkPHP示例之：表单处理
        </h2>
        <form method='post' action="__URL__/insert">
            <table cellpadding=2 cellspacing=2>
                <tr>
                    <td >用户名：</td>
                    <td ><input type="text" name="uname" ></td>
                </tr>
                <tr>
                    <td >密码：</td>
                    <td><textarea name="password" rows="5" cols="25"></textarea></td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="submit" class="button" value="提 交"> <input type="reset" class="button" value="清 空"></td>
                </tr>
            </table>
        </form>
    </div>
    
    <ul>
	<?php if(is_array($userList)): foreach($userList as $key=>$user): ?><li>用户名：<?php echo ($user["uname"]); ?><br/>密码：<?php echo ($user["password"]); ?></li><?php endforeach; endif; ?>
    </ul>
        

			<div class="result">这里是父模板定义内容 footer</div>
        </div>
    </body>
</html>